package io.datajek.springbasics.movierecommendersystem.lesson4;

import io.datajek.springbasics.movierecommendersystem.lesson2.Filter;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

@Component
@Primary
public class CollaborativeFilter implements Filter {

    public String[] getRecommendations(String movie){

        //协作式过滤器的逻辑
        return new String[]{"Happy Feet","逃学威龙2","ice age"};
    }
}
